int sck_log(char *message) {

        int sock;

        char send_data[254];

        struct hostent *host;

        struct sockaddr_in server_addr;
        host = gethostbyname("10.25.14.110");
        if ((sock = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
            perror("Socket");
            exit(1);
        }
        server_addr.sin_family = AF_INET;

        server_addr.sin_port = htons(LOG_PORT);
        server_addr.sin_addr = *((struct in_addr *)host->h_addr);
        bzero(&(server_addr.sin_zero),8);
        if (connect(sock, (struct sockaddr *)&server_addr,
                    sizeof(struct sockaddr)) == -1)
        {
            syslog(LOG_INFO, "Unable to start socket");
            exit(1);
        }
        else
        {
            send(sock,message,strlen(message),0);
            return 0;
        }

        return 0;

}